package com.cjm.one.service.impl;

import com.cjm.one.payment.client.PaymentInfoClient;
import com.cjm.one.service.BalanceService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

@Service
public class BalanceServiceImpl implements BalanceService {
    @Resource
    private PaymentInfoClient paymentInfoClient;
    @Override
    public Boolean pay(String orderNo) {
        Boolean data = paymentInfoClient.balancePay(orderNo).getData();
        return data;
    }
}
